package com.finance.system.support.bean;

import com.baomidou.mybatisplus.annotation.TableField;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IDEA
 *
 * @author: 董文辉
 * Date: 2018/1/2
 * Time: 12:20
 */
public class BaseBean {
    @TableField(exist = false)
    private int start = -1;
    @TableField(exist = false)
    private int limit = -1;
    @TableField(exist = false)
    private String orderByClause;
    @TableField(exist = false)
    private Map<String,Object> paraMap = new HashMap<>();

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public Map<String, Object> getParaMap() {
        return paraMap;
    }

    public void setParaMap(Map<String, Object> paraMap) {
        this.paraMap = paraMap;
    }

    public Object getParam(String key){
        return paraMap.get(key);
    }
}
